package com.woniu.idearbac.mapper;

import com.woniu.idearbac.dto.RolesDTO;
import com.woniu.idearbac.entity.SysRole;

import java.util.List;

/**
* @author PC
* @description 针对表【sys_role】的数据库操作Mapper
* @createDate 2022-11-30 13:10:52
* @Entity com.woniu.idearbac.entity.SysRole
*/
public interface SysRoleMapper {
    List<String> selectRolesByTel(String tel);
    int insertRoles(RolesDTO rolesDTO);
    int delByBid(Long uid);
    List<SysRole> selAll();
    List<Integer> selRolesByUid(Long uid);

    int deleteByPrimaryKey(Long id);

    int insert(SysRole record);

    int insertSelective(SysRole record);

    SysRole selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysRole record);

    int updateByPrimaryKey(SysRole record);

}
